home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Plotter / PlotView.h < prev    next >
Text File  |  1995-06-12  |  767b  |  35 lines

  1. /* PlotView.h -- Interface file for the PlotView class */
  2.  
  3. #import <appkit/View.h>
  4.  
  5. @interface PlotView:View
  6. {
  7.     id        delegate;
  8.     id        points;
  9.     id        crossCursor;
  10.     id        readOut;
  11.     float        radius;
  12.     BOOL        needsClearing;
  13. }
  14. - initFrame:(const NXRect *)frameRect;
  15. - setDelegate:anObject;
  16. - drawSelf:(const NXRect *)rects :(int)rectCount;
  17. - sizeTo:(NXCoord)width :(NXCoord)height;
  18. - clear:sender;
  19. - plot:sender;
  20. - mouseDown:(NXEvent *)theEvent;
  21. - registerPoint:(NXPoint *)aPoint;
  22. - setRadius:(float)aFloat;
  23. - (float)radius;
  24. - read:(NXTypedStream *)stream;
  25. - write:(NXTypedStream *)stream;
  26. - awake;
  27. - (const char *)inspectorName;
  28. @end
  29.  
  30. @interface Object(PlotViewDelegate)
  31. - plotView:sender providePoints:(NXStream **)stream;
  32. - plotView:sender pointDidChange:(NXPoint *)aPoint;
  33. @end
  34.  
  35.